package com.soboot.gateway.resource;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author:
 * @createTime: 2022年09月21日 09:26:33
 * @version:
 * @Description:
 * @Copyright:
 */
@Data
@RefreshScope
@Component
@ConfigurationProperties("soboot.document")
public class RouteProperties {

    private final List<RouteResource> resources = new ArrayList<>();
}
